#include "sqstack.h"

int main ()
{
    PSeqStack pstack;
    
    pstack = createEmptyStack(10);
    if (pstack != NULL)
    {
        push(pstack, 'a');
        push(pstack, 'b');
        push(pstack, 'c');
        push(pstack, 'd');
        push(pstack, 'e');
        printStack(pstack);
        pop(pstack);
        pop(pstack);
        pop(pstack);
        printStack(pstack);
        push(pstack, 'a');
        push(pstack, 'b');
        push(pstack, 'c');
        push(pstack, 'd');
        push(pstack, 'e');
        printStack(pstack);
        empty(pstack);
        printStack(pstack);
        destroy(&pstack);
    }
    return 0;
}
